package com.itboyst.face.feign;

import com.itboyst.face.utils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("system")
public interface SystemFeignService {
    @GetMapping("system/worker/info/{id}")
    Result info(@PathVariable("id") Long id);
}
